package com.hz.service.impl;

import com.hz.dao.UserWithdrawDepositDao;
import com.hz.pojo.UserWithdrawDeposit;
import com.hz.pojo.WithdrawDeposit;
import com.hz.service.UserWithdrawDepositService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class UserWithdrawDepositServiceImpl implements UserWithdrawDepositService {
    @Resource
    UserWithdrawDepositDao userWithdrawDepositDao;
    @Override
    public List<UserWithdrawDeposit> getUserWithdrawDeposit(Integer pages, Integer pageSize,Integer state,String user_name) throws Exception {
        return userWithdrawDepositDao.getUserWithdrawDeposit(pages,pageSize,state,user_name);
    }

    @Override
    public int updUserWithdrawDeposit(WithdrawDeposit withdrawDeposit) throws Exception {
        return userWithdrawDepositDao.updUserWithdrawDeposit(withdrawDeposit);
    }
}
